chore(claude): remove project .claude directory and .mcp.json - #729
Merged
Merged
Conversation
… all Replaces enableAllProjectMcpServers with an explicit enabledMcpjsonServers list so a server added to .mcp.json later requires each developer's approval before it starts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Nothing in the repo uses it; developers who want it can add it at user scope. Ignoring .mcp.json keeps project MCP servers out of the repo. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Drops the shared Claude Code settings, launch configs and a stray session lock file, and ignores .claude/ so local Claude Code state stays out of the repo. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
neelay-aign
commented
Oct 2, 2026
olivermeyer
approved these changes
Oct 2, 2026
neelay-aign
enabled auto-merge (squash)
October 2, 2026 07:21
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
Removes the project-level Claude Code configuration. The repo doesn't need it, and dropping it closes the hardening point from an external report:
enableAllProjectMcpServers: truestarted every.mcp.jsonserver on developer machines without a prompt, including any server added later by a PR..claude/:settings.json: shared permission allowlist,enableAllProjectMcpServers, and project-wide enablement of theqms@aignostics-claude-pluginspluginlaunch.json: Launchpad preview configs for production, staging and devscheduled_tasks.lock: a session lock file committed by accident.mcp.json, whose only entry was the Playwright MCP server (@playwright/mcp@latest, unpinned). Nothing in the repo used it..gitignorenow ignores.claude/and.mcp.json, so local Claude Code state (worktrees,settings.local.json, lock files) can't be committed again.pyrightconfig.jsonstill excludes**/.claude/worktrees/**, because Claude Code still creates worktrees locally.Impact on developers
claude mcp add --scope user playwright -- npx @playwright/mcp@latest~/.claude/settings.jsonand.claude/settings.local.jsonforenableAllProjectMcpServers, because a repo review can't see those files.Test plan
git ls-files .claude .mcp.jsonis empty/mcplists no project servers and no project plugins are enabled🤖 Generated with Claude Code